package cn.zane.designPattern.createPatterns.abstractFactoryPatterns.oldCode.application;

import java.util.concurrent.TimeUnit;

/**
 * @Author: zane
 * @Date: 2024/12/29
 * @Description:
 */
public interface CacheService {

    String get(final String key);

    void set(String key, String value);

    void setExpire(String key, String value, long timeout, TimeUnit unit);

    void del(String key);
}
